package cn.javadog.smartbreeding.core.dto;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author 余勇
 */
@Data
@ApiModel("温度")
public class TemperatureRecordDTO implements Serializable {

	@ApiModelProperty("数值(单位:摄氏度*100)")
	private Integer value;

	@ApiModelProperty("棚编号")
	private String shedNo;

	@ApiModelProperty("棚内位置编号")
	private String positionNo;

	@ApiModelProperty("录入时间")
 	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime entryTime;

}
